package cn.piesat.vo.menu;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 添加菜单参数对象
 *
 * @author xhl
 */
public class AddMenuVO {

    private String pid;

    @NotBlank(message = "菜单名称不能为空")
    private String name;

    private String route;

    @NotNull(message = "序号不能为空")
    private Integer seq;

    private String description;

    @NotNull(message = "菜单图标不能为空")
    private String iconfont;

    @NotNull(message = "锁定状态不能为空")
    private Integer lockState;

    private String link;

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRoute() {
        return route;
    }

    public void setRoute(String route) {
        this.route = route;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getIconfont() {
        return iconfont;
    }

    public void setIconfont(String iconfont) {
        this.iconfont = iconfont;
    }

    public Integer getLockState() {
        return lockState;
    }

    public void setLockState(Integer lockState) {
        this.lockState = lockState;
    }
}
